package com.dytj.dao;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.dytj.pojo.Comment;
import com.mysql.jdbc.Connection;
import com.mysql.jdbc.Statement;

public class CommentDao {
	
	public static Comment addComment() throws SQLException {
		Comment comment = new Comment();
		Connection conn = (Connection) DBUtil.getConn();
		Statement st = (Statement) conn.createStatement();
		//sql处理
		String sql = "";
		ResultSet rs = st.executeQuery(sql);
		while(rs.next()){
			
		}
		rs.close();
		st.close();
		conn.close();
		return comment;
	}
	
}
